﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Portal_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
           // $("#topUserName").html("<%=this.CurrentUserName %>");
        });
    </script>
    <style type="text/css">
        #container{ margin: auto; min-width: 800px;}
        #col_left { float: left; width: 400px; padding:20px;}
		#col_right { float: left; width: 300px; padding:10px 20px; }
		
		#p_logo { width: 110px; height: 110px; border: 1px solid #c0c0c0; border-radius: 5px; box-shadow: 2px 2px 6px #ccc; }
		#p_logo img { margin: 5px; }
		.p_widget{ width:400px; margin-bottom:20px; }
		.p_widgetTitle{  background-color: #E3F1F9; padding:5px; color:#808080; font-weight:bold; border-top-left-radius: 6px; border-top-right-radius: 6px;}
		.p_widgetBody{ padding:10px; border:dotted 1px #dddddd;}
		
		#stockTable { width:300px; color:#808080;}
		#stockTable th{  font-weight:bold;}
		#stockTitle{ font-size:15px; font-weight:bold; color:#003399; padding:10px 0px; border-bottom:solid 1px #7AB6DF;}
		#stockBody{padding:10px 0px;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SiteContent" Runat="Server">
    <div id="container">        
        <div id="col_left">
            <div class="p_widget">
                <div class="p_widgetTitle">My profile</div>
                 <div class="p_widgetBody">
				    <div id="p_logo">
					    <img src="/images/no_logo.jpg" onclick="window.location='Profile.aspx'" style="cursor: pointer;" />
				    </div>
                </div>
			</div>
            <div class="p_widget">
                <div class="p_widgetTitle">Todolist</div>
                 <div class="p_widgetBody">
                </div>
			</div>
        </div>
        <div id="col_right">
            <div id="stockTitle">Today's Markets</div>
            <div id="stockBody">
                <table id="stockTable" cellpadding="5" cellspacing="0">
                    <tr><th>Index</th><th>Last</th><th>Change(%)</th></tr>
                    <tr style=" background-color:#F0F4F7;"><td>Nasdaq</td><td>2858.83</td><td>-3.25 (-0.04%)</td></tr>
                    <tr><td>NYSE</td><td>2858.83</td><td>-3.25 (-0.04%)</td></tr>
                    <tr  style=" background-color:#F0F4F7;"><td>S&P500</td><td>2858.83</td><td>-3.25 (-0.04%)</td></tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>

